<template>
  <div class="container">
<!--    <router-link to="/home">登录</router-link>-->
    <span class="denglu" @click="denglu">登录</span>
  </div>
</template>

<script>
  export default {
    name: "denglu",
    methods:{
      denglu(){
        this.$router.replace('/home')
      }
    }
  }
</script>

<style scoped>
  .container{
    margin: 20px 20px;
    display: inline;
    color: white;
  }
  .denglu{
    margin-left: 70px;
    display: inline-block;
  }
</style>
